// FMaterialManagerLocal.h
//

//
// FMaterial
//
class FMaterialLocal : public FMaterial {
public:
	void							Init( FEffect *effect, FString _name );
	void							SetName( FString &name ) { _name = name; };

	virtual void					SetImage( FTexture *image, int texNum );
	virtual void					Bind( void );
	virtual FString					GetName( void ) { return _name; };

	virtual void					Destroy( void ) { };
private:
	FString _name;
	FEffect *effect;
};

//
// FMaterialManagerLocal
//
class FMaterialManagerLocal : public FMaterialManager {
public:
	virtual void					Init( void );
private:
	FEffect		*diffuseNonLit;
	FArray<FMaterialLocal *> materials;
};

